package com.asiainfo_linkage.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Table(value = "REM_PLAN")
public class RemPlan implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4961234376497783015L;
	//date formats
	
	//可以直接使用: @Length(max=50,message="用户名长度不能大�?0")显示错误消息
	//columns START
	
	@Column	  // 表示该对象属性可以映射到数据库里作为一个字段
	@Id       // 表示该字段为一个自增长的Id
	private Long plan_id;
	@Column
	private Long task_id;//任务id 与rem_task 表中task_id关联
	
	@Column
	private String cycle_type;
	@Column
	private String plan_cycle;
	/* 
	 *  计划周期
	00 每天
	01 每工作日（11-15）
	10 每周
	11 星期一
	12 星期二
	13 星期三
	14 星期四
	15 星期五
	16 星期六
	17 星期日
	20 每月*/
	@Column
	private java.lang.String rem_cycle_number;
	@Column
	private java.util.Date nexttime;
	@Column
	private String reserved1;
	
	@Column
	private String reserved2;
	public RemPlan(){
	}

	public RemPlan(Long plan_id	){
		this.plan_id = plan_id;
	}
	public Long getPlan_id() {
		return plan_id;
	}

	public void setPlan_id(Long plan_id) {
		this.plan_id = plan_id;
	}

	public Long getTask_id() {
		return task_id;
	}

	public void setTask_id(Long task_id) {
		this.task_id = task_id;
	}

	public String getCycle_type() {
		return cycle_type;
	}

	public void setCycle_type(String cycle_type) {
		this.cycle_type = cycle_type;
	}

	public String getPlan_cycle() {
		return plan_cycle;
	}

	public void setPlan_cycle(String plan_cycle) {
		this.plan_cycle = plan_cycle;
	}
	public java.lang.String getRem_cycle_number() {
		return rem_cycle_number;
	}

	public void setRem_cycle_number(java.lang.String rem_cycle_number) {
		this.rem_cycle_number = rem_cycle_number;
	}
	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public java.util.Date getNexttime() {
		return nexttime;
	}

	public void setNexttime(java.util.Date nexttime) {
		this.nexttime = nexttime;
	}

}
